pass struct irq_desc * to all other IRQ accessors
authorJan Beulich <jbeulich@suse.com>
Sat, 17 Sep 2011 23:25:57 +0000 (00:25 +0100)
committerJan Beulich <jbeulich@suse.com>
Sat, 17 Sep 2011 23:25:57 +0000 (00:25 +0100)
commitac4afd4aaac5f8e6e706f97bbfb0bd925577ed15
tree4c996b4c24c2844879582e35036eafb3355d0d53
parenta71eeb324fcc21bb2789917601326a2dfc220704
pass struct irq_desc * to all other IRQ accessors

This is again because the descriptor is generally more useful (with
the IRQ number being accessible in it if necessary) and going forward
will hopefully allow to remove all direct accesses to the IRQ
descriptor array, in turn making it possible to make this some other,
more efficient data structure.

This additionally makes the .end() accessor optional, noting that in a
number of cases the functions were empty.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/ia64/linux-xen/iosapic.c
xen/arch/x86/hpet.c
xen/arch/x86/i8259.c
xen/arch/x86/io_apic.c
xen/arch/x86/irq.c
xen/arch/x86/msi.c
xen/drivers/passthrough/amd/iommu_init.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/asm-x86/irq.h
xen/include/asm-x86/msi.h
xen/include/xen/irq.h